package com.zlp.consumer;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;


/**  
 * 
 * @Title:  FanoutSmsConsumer.java   
 * @Package com.zlp.consumer   
 * @Description:   客户端接收消息sms   
 * @author: 邹利平
 * @date:   2019年3月13日 下午2:39:49   
 * @version V1.0  
 */ 
@Component
public class FanoutSmsConsumer {
	@RabbitListener(queues = "fanout_sms_queue")
	public void process(String msg) {
		System.out.println("客户端接收消息sms:" + msg);
	}
}
